<%@ page contentType="text/html;charset=UTF-8" language="java"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<fieldset>
  <s:form action="userAction!add" method="post">
    <legend>添加用户信息</legend>
    <s:textfield key="label.user-name" name="user.userName" placeholder="20字符以内" />
    <s:select key="label.sex" name="user.sex" list="#{1:'男',0:'女'}" />
    <s:textfield key="label.birthdate" name="user.birthdate" placeholder="yyyy-MM-dd" />
    <s:textarea key="label.address" name="user.address" placeholder="200字符以内" />
    <s:submit value="添加" />
  </s:form>
</fieldset>
